package com.action.blog.basic;

import java.util.Map;

import com.db.blog.basic.*;

import com.opensymphony.xwork2.ActionContext;

public class BasicAction {
	private basicVO vo = new basicVO();
	private basicManager basic;

	public basicManager getBasic() {
		return basic;
	}

	public void setBasic(basicManager basic) {
		this.basic = basic;
	}

	public basicVO getVo() {
		return vo;
	}

	public String execute() throws Exception {

		Map session = ActionContext.getContext().getSession();

		vo = basic.basicData((String) session.get("login"));

		return "success";
	}
}
